import java.util.*;
public class hjd {
	public static void main(String args[]) {
	int a[];
	for(int j=0; j<a.length;j++) {
	Scanner in =new Scanner(System.in);
	String a=in.nextString();
}
	for(int i = a.length; i>0; i--){
      System.out.print(arr[i-1]*arr[i-1]+ " ");
  }
  System.out.println();
  



}




}
